﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PTWBM.aspx.cs" Inherits="H2.NET.Web.Pages.PTWBM" %>
<%@ Register Assembly="H2.NET.Controls" Namespace="H2.NET.Controls" TagPrefix="H2" %>
<%@ Register Assembly="Anthem" Namespace="Anthem" TagPrefix="anthem" %>
<%@ Register Src="../../Controls/AssessmentList.ascx" TagName="AssessmentList" TagPrefix="uc1" %>
<%@ Register src="../../Controls/AssessmentExtend.ascx" tagname="Assessment" tagprefix="uc2" %>
<%@ Register src="../../Controls/Attachment.ascx" tagname="Attachment" tagprefix="uc3" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link type="text/css" rel="stylesheet" href="../../Resource/Css/Style.css" />    
</head>
<body>
    <form id="form" runat="server">
    <div id="PRINT_A" style="width: 800px; border: solid 1px #D0D0BF">
    <!--标题-->
    <div style="border-bottom:solid 1px #D0D0BF"> 
        <table>
            <tr>
                <td style="width:140px;height:40px;"><img alt="" src="../../Resource/Images/Logo_AkzoNobel.gif" /></td>
                <td style="font-size:13px;"><b>TW Bank Master</b>&nbsp;&nbsp;&nbsp;&nbsp;<anthem:Label ID="INFO" runat="server" ForeColor="Red" AutoUpdateAfterCallBack="true"></anthem:Label></td>
                <td style="width:160px;" align="left">No: <anthem:Label ID="ApplicationNo" runat="server" AutoUpdateAfterCallBack="true"></anthem:Label></td>
            </tr>
        </table>
    </div>
    
        <div>
    <table>
        <tr>
            <td colspan="2" style="height:8px;"></td>
        </tr>
        <tr>
            <td style="width:1px;"></td>
            <td style="width:100px;">
                <anthem:DropDownList ID="Actions" runat="server" AutoCallBack="true" 
                    EnableCallBack="true" AutoUpdateAfterCallBack="true" Width="108" onselectedindexchanged="Actions_SelectedIndexChanged">
                    <asp:ListItem Text="1, Create" Value="1" Selected="True"></asp:ListItem>
                    <asp:ListItem Text="2, Change" Value="2"></asp:ListItem>
                    <asp:ListItem Text="3, Delete" Value="3"></asp:ListItem>
                </anthem:DropDownList>
            </td>
          <td style="width:100px;"></td>
             <td style="width:100px;"></td>
             <td style="width:100px;"></td>
             <td style="width:100px;"></td>
              <td style="width:100px;"></td>
            <td></td>

            <td>           <anthem:Label ID="DrpPriority_L" Text="Priority" runat="server" 
                            AutoUpdateAfterCallBack="True" UpdateAfterCallBack="True" ></anthem:Label>
                    <anthem:DropDownList ID="DrpPriority" runat="server" AutoCallBack="true" 
                            EnableCallBack="true" AutoUpdateAfterCallBack="true" CssClass="text" 
                            Width="108" >
                        <asp:ListItem Text=""></asp:ListItem>
                        <asp:ListItem Text="Urgent" Value="1"></asp:ListItem>
                        <asp:ListItem Text="High" Value="2"></asp:ListItem>
                        <asp:ListItem Text="Routine" Value="3"></asp:ListItem>
                    </anthem:DropDownList>
                    </td>  
        </tr>
    </table>        
    </div>     
 
        <div style="margin:2px;">
        <fieldset>
            <legend>
                Initial Screen
            </legend>
            <table>
                
                <tr><td colspan="4" style="height:6px;"></td></tr>         
                <tr>
                    <td style="width:110px;"><anthem:Label ID="Bank_Country_L" Text="Bank Country:" AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true" runat="server"></anthem:Label></td>
                    <td >

                            <H2:Dialog ID="Bank_Country" runat="server" ToolTip="銀行國家代碼" Dialog_ID="CRV0010" Dialog_Is_Click="true" Dialog_Value="c" Width="154" AutoCallBack="true" AutoUpdateAfterCallBack="true"></H2:Dialog>
                    </td>
                </tr>
                <tr>
                    <td style="width:110px;"><anthem:Label ID="Bank_Key_L" Text="Bank Key:"  AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true"  runat="server"></anthem:Label></td>
                    <td >
                        <anthem:TextBox ID="Bank_Key" runat="server" ToolTip="銀行代碼" 
                            AutoUpdateAfterCallBack="true" Width="154" ></anthem:TextBox> 
                    </td>
                  </tr>
                
            </table>
          </fieldset>
        </div>
     
        <div style="margin:2px;">
        <fieldset>
            <legend>
                Address
            </legend>
            <table>
                
                <tr><td colspan="3" style="height:6px;"></td></tr>         
                <tr>
                    <td style="width:110px;"><anthem:Label ID="Bank_Name_L" Text="Bank Name:"  AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true" runat="server"></anthem:Label></td>
                    <td >
                       <anthem:TextBox ID="Bank_Name" runat="server" ToolTip="銀行名稱" 
                            AutoUpdateAfterCallBack="true" Width="154" ></anthem:TextBox> 
                    </td>
                </tr>
                <tr>
                    <td style="width:110px;"><anthem:Label ID="Region_L" Text="Region:" AutoUpdateAfterCallBack="true"  runat="server"></anthem:Label></td>
                     <td>
                       <anthem:TextBox ID="Region" runat="server" ToolTip="地區（州、省、县）"  AutoUpdateAfterCallBack="true" Width="154" ></anthem:TextBox> 
                    
                      </td>
                  </tr>
                    <tr>
                    <td style="width:110px;"><anthem:Label ID="Street_L" Text="Street:" AutoUpdateAfterCallBack="true"  runat="server"></anthem:Label></td>
                     <td>
                       <anthem:TextBox ID="Street" runat="server" ToolTip="住宅號及街道" AutoUpdateAfterCallBack="true" Width="154" ></anthem:TextBox> 
                    
                      </td>
                  </tr>
                   <tr>
                    <td style="width:110px;"><anthem:Label ID="City_L" Text="City:" AutoUpdateAfterCallBack="true"  runat="server"></anthem:Label></td>
                     <td>
                       <anthem:TextBox ID="City" runat="server" ToolTip="城市" AutoUpdateAfterCallBack="true" Width="154" ></anthem:TextBox> 
                    
                      </td>
                  </tr>
                  <tr>
                    <td style="width:110px;"><anthem:Label ID="Bank_Branch_L" Text="Bank Branch:" AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true" runat="server"></anthem:Label></td>
                     <td>
                       <anthem:TextBox ID="Bank_Branch" runat="server" ToolTip="分行" AutoUpdateAfterCallBack="true" Width="154" ></anthem:TextBox> 
                    
                      </td>
                  </tr>
            </table>
          </fieldset>
        </div>
      
        <div style="margin:2px;">
        <fieldset>
            <legend>
                Control Data
            </legend>
            <table>
                
                <tr><td colspan="4" style="height:6px;"></td></tr>         
                <tr>
                    <td style="width:110px;"><anthem:Label ID="SWIFT_Code_L" Text="SWIFT Code:" AutoUpdateAfterCallBack="true"  AutoCallBack="true" EnableCallBack="true"  runat="server"></anthem:Label></td>
                    <td >
                        
                       <anthem:TextBox ID="SWIFT_Code" runat="server" ToolTip="關于國際付款的SWIFT碼" AutoUpdateAfterCallBack="true" Width="154" ></anthem:TextBox> 
                    
                      </td>
                </tr>
                 <tr>
                    <td style="width:110px;"><anthem:Label ID="Bank_Group_L" Text="Bank Group:" AutoUpdateAfterCallBack="true"   runat="server"></anthem:Label></td>
                    <td >
                        
                       <anthem:TextBox ID="Bank_Group" runat="server" ToolTip="銀行組（銀行网）" AutoUpdateAfterCallBack="true" Width="154" ></anthem:TextBox> 
                    
                      </td>
                </tr>
                <tr>
                    <td ><anthem:Label ID="Postbank_Acct_L" Text="Postbank Acct:" runat="server" AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true" ></anthem:Label></td>
                    <td >
                        <anthem:CheckBox ID="Postbank_Acct" runat="server" ToolTip="郵政銀行往來賬戶" 
                            AutoUpdateAfterCallBack="true" Width="305" ></anthem:CheckBox></td>
                </tr> 
                <tr>
                    <td style="width:110px;"><anthem:Label ID="Bank_Number_L" Text="Bank Number:" AutoUpdateAfterCallBack="true"  AutoCallBack="true" EnableCallBack="true"  runat="server"></anthem:Label></td>
                    <td >
                        
                       <anthem:TextBox ID="Bank_Number" runat="server" ToolTip="銀行編號"  AutoUpdateAfterCallBack="true" Width="154" ></anthem:TextBox> 
                    
                      </td>
                </tr>
             
            </table>
          </fieldset>
        </div>
        
       
       
            
 


            

    
    
    
    <div style="margin:2px;">
        <fieldset>
            <legend>
            Attachments
                        </legend>
            <table> 
              <tr><td colspan="2" style="height:6px;"></td></tr>  
              <tr>
                  <td style="width:110px;" valign="top">Attachments:</td> 
                  <td><div style="width:500px;"><uc3:Attachment ID="Attachment1" runat="server" /></div></td>
              </tr>
            </table>
        </fieldset>
    </div> 
                <anthem:Panel ID="P_DMO" runat="server" AutoUpdateAfterCallBack="true" Visible="false">  
       <div  style="margin:2px;">
            <fieldset>
                <legend>
                   DMO 
                </legend>
                   <table border="0px">
                     <tr>
            <td align="center" class="style3"><anthem:Label ID="DMO_DrpPriority_L" Text="Priority" runat="server" AutoUpdateAfterCallBack="true"></anthem:Label></td>
            <td class="style3"><anthem:DropDownList ID="DMO_DrpPriority" runat="server" AutoCallBack="true" EnableCallBack="true" AutoUpdateAfterCallBack="true"   CssClass="text" Width="100">
                        <asp:ListItem Text=""></asp:ListItem>
                        <asp:ListItem Text="Urgent" Value="1"></asp:ListItem>
                        <asp:ListItem Text="High" Value="2"></asp:ListItem>
                        <asp:ListItem Text="Routine" Value="3"></asp:ListItem>
                 </anthem:DropDownList>
            </td>
        </tr>

                    </table>

                    
            </fieldset>
        </div> 
      </anthem:Panel>
       <!-- <div style="margin:2px;">
            <fieldset>
                <legend>
                   DMO 
                </legend>
                <table> 
                    <tr><td style="width:111px;" valign="top">SAP Code:</td>
                        <td><anthem:TextBox ID="SAP_Code" runat="server" TextMode="MultiLine" Height="60" Width="624" AutoUpdateAfterCallBack="true"></anthem:TextBox></td>
                    </tr>
                </table>
            </fieldset>
        </div> -->
        
        <div style="margin:2px;">
            <table width="100%">
                <tr><td><uc1:AssessmentList ID="AssessmentList1" runat="server" /></td></tr>
            </table>
        </div>
        
        <div style="margin:2px;">
            <table width="100%">
		<tr><td style="height:10px;"></td></tr>
                <tr><td><uc2:Assessment ID="Assessment1" runat="server" /></td></tr>
            </table>
        </div>
        
        <div>
            <table width="100%">
                <tr><td style="height:6px;"></td></tr>
                <tr>
                    <td style="width:114px;"></td>
                    <td>
                        <anthem:Button ID="Send" runat="server" Text="<%$ Resources:Global,C_00_Submit %>" PreCallBackFunction="Submit_PreCallBack" AutoUpdateAfterCallBack="true" EnableCallBack="true" OnClick="Send_Click" />
                        <anthem:Label ID="Split" runat="server" Width="10" AutoUpdateAfterCallBack="true"></anthem:Label>
                        <anthem:Button ID="Close" runat="server" Text="<%$ Resources:Global,C_00_Close %>" OnClientClick="window.close();" />
                    </td>
                </tr>
                
            </table>
        </div>
        
        <div style="height:10px;">
        </div>
    </div>
    </form>
</body>
</html>
